home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pIsOn
- global gIsAlertMessagesOn
-
- on new me, buttonName, castName, xSprite, xLoc, IsOn, descendant
- if objectp(descendant) then
- PassVar = descendant
- else
- PassVar = me
- end if
- ancestor = new(script("one selected radio button"), buttonName, castName, xSprite, xLoc, PassVar)
- pIsOn = IsOn
- return me
- end
-
- on performFunction me
- tell the stage
- playSFX(9)
- end tell
- gIsAlertMessagesOn = pIsOn
- return me
- end
-